package com.gitee.neuray.security.admin.role.entity;

import com.gitee.neuray.security.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

import java.util.Date;

/**
 * 代码生成
 *
 * @author zhoyou
 * @email ${email}
 * @date 2020-03-10 16:06:52
 */
@Data
@Table(name = "ADMIN_ROLE")
public class AdminRoleEntity extends BaseEntity {


		/**
	 * 角色编码
	 */
	@Column(name = "CODE")
	private String code;
	
		/**
	 * 角色名称
	 */
	@Column(name = "NAME")
	private String name;
	
		/**
	 * 上级节点
	 */
	@Column(name = "PARENT_ID")
	private String parentId;
	
		/**
	 * 树状关系
	 */
	@Column(name = "PATH")
	private String path;
	
		/**
	 * 类型
	 */
	@Column(name = "TYPE")
	private String type;
	
		/**
	 * 角色组类型
	 */
	@Column(name = "GROUP_TYPE")
	private Integer groupType;
	
		/**
	 * 
	 */
	@Column(name = "DESCRIPTION")
	private String description;
	
		/**
	 * 组织ID
	 */
	@Column(name = "ORG_ID")
	private String orgId;
	
		/**
	 * 组织名称
	 */
	@Column(name = "ORG_NAME")
	private String orgName;
	
}
